package com.helei.cloud.controller;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Scanner;

/**
 * @author helei
 * @description clientController
 * @date 2020/11/9 10:20
 */
@RestController
@RefreshScope//支持nacos的动态刷新
public class clientController {
    @Value("${config.info}")
    private String rs;

    @GetMapping(value = "ss")
    public String ss() {
        return rs;
    }


}
